#ifndef _HCC_ERROR_CODE_MID_BSC_2CPU_CALIB_TIME_H_
#define _HCC_ERROR_CODE_MID_BSC_2CPU_CALIB_TIME_H_

#include "ofc/ofc_types.h"
#include "hcc/hcc_error_code.h"
#include "hcc/hcc_error_code_mid.h"

#ifdef __cplusplus
extern "C" {
#endif

#define HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(error_code) (int)HCC_ERROR(HCC_MAKE_MID_WARE_ERROR(kHccMidWareBs2CpuCalibTime, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * 双cpu校时组件:
 */
typedef Int32 THccMidBs2CpuCalibTimeErrorCodeEnum;

#define kHccMidBs2CpuCalibTimeSuccess	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kHccMidBs2CpuCalibTimeFailure	HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(1)	///<通用失败，如：设置、获取系统时间失败、通知失败，修改配置时校时正在启用等
#define kHccMidBs2CpuCalibTimeNotInit	HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(2)	///<未初始化
#define kHccMidBs2CpuCalibTimeInvalidParam	HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(3)	///<参数错误
#define kHccMidBs2CpuCalibTimeInvalidSource	HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(4)	///<校时源无效
#define kHccMidBs2CpuCalibTimeUnEnable	HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(5)	///<校时未使能启用
#define kHccMidBs2CpuCalibTimeSendError	HCC_MAKE_MID_BSC_2CPU_CALIB_TIME_ERROR(6)	///<发送错误

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_MID_BSC_2CPU_CALIB_TIME_H_
/**
 * @
 */
